﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Microsoft.Extensions.DiagnosticAdapter;

namespace DiagnosticSourceDemo
{
    public class MyDataSource
    {
        [DiagnosticName("test")]
        public void ReceiveMsg(MessageData data)
        {
            Console.WriteLine(data.MsgId);
        }
    }
}
